package ooday04;

import ooday03.Swim;

public class FishO extends AnimalO implements Swim {
    FishO(String name, int age, String color){
        super(name,age,color);
    }
    public void eat(){
        System.out.println(color+"的"+age+"岁的"+name+"正在看家...");
    }
    public void swim(){
        System.out.println(color+"的"+age+"岁的"+name+"正在游泳...");
    }
}
